{if $aPaging.totalPages>1}
{if $aPaging.firstUrl}<a href="javascript:void(0);" style="cursor:pointer;" onclick="document.getElementById('page_num').value='0'; xajax_getUsersOnline('0', true);" class="pager_link">&lt;&lt;</a> | {/if}
{if $aPaging.prevUrl}<a href="javascript:void(0);" style="cursor:pointer;" onclick="document.getElementById('page_num').value='{$aPaging.iPrevPage}'; xajax_getUsersOnline('{$aPaging.iPrevPage}', true);" class="pager_link">&lt;&nbsp;{language text="prev"}</a>&nbsp;|&nbsp;{/if}
{foreach from=$aPaging.urls key=sUrl item=iPage}
{if $sUrl}<a href="javascript:void(0);" style="cursor:pointer;" onclick="document.getElementById('page_num').value='{$iPage}'; xajax_getUsersOnline('{$iPage}', true);" class="pager_link">{$iPage}</a>{else}<b>{$iPage}</b>{/if}&nbsp;|
{/foreach}
{if $aPaging.nextUrl} <a href="javascript:void(0);" style="cursor:pointer;" onclick="document.getElementById('online_content').style.display='none';document.getElementById('ajax_image').style.display='';
	document.getElementById('page_num').value='{$aPaging.iNextPage}';
	xajax_getUsersOnline('{$aPaging.iNextPage}', true);" class="pager_link">{language text="next"}&nbsp;&gt;</a>{/if}
{if $aPaging.lastUrl} | <a href="javascript:void(0);" style="cursor:pointer;" onclick="document.getElementById('page_num').value='{$aPaging.iLastPageAjax}'; xajax_getUsersOnline('{$aPaging.iLastPageAjax}', true);" class="pager_link">&gt;&gt;</a>{/if}
{/if}
